package com.barunsw.bwf.bims.vo;

import java.io.Serializable;

public class ChannelHistoryVo implements Serializable {
	private static final long serialVersionUID = 1210912344230201362L;
	
	private long deviceId;
	private long id;
	private String name;
	private double curVal;
	private String eventTime;
	
	public ChannelHistoryVo() {
		super();
	}
	
	public ChannelHistoryVo(long deviceId, long id, String name, 
			double curValue, String eventTime) {
		super();
		
		this.deviceId 	= deviceId;
		this.id 		= id;
		this.name 		= name;
		this.curVal 	= curValue;
		this.eventTime	= eventTime;
	}

	public long getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(long deviceId) {
		this.deviceId = deviceId;
	}

	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public double getCurVal() {
		return curVal;
	}

	public void setCurVal(double curVal) {
		this.curVal = curVal;
	}

	public String getEventTime() {
		return eventTime;
	}

	public void setEventTime(String eventTime) {
		this.eventTime = eventTime;
	}

	@Override
	public String toString() {
		return "ChannelHistoryVo [deviceId=" + deviceId + ", id=" + id
				+ ", name=" + name + ", curVal=" + curVal + ", eventTime="
				+ eventTime + "]";
	}
}
